/*


 */

package jas.rpc;

import java.io.Serializable;

/**
 * Client-side object identifying an object on a remote machine.
 * 
 * The streamers will translate back and forth between this and Remote objects.
 */
public class RemoteObject implements Serializable {
    private Class clazz;
    private String id;
    
    public RemoteObject(Class clazz, String id) {
        this.clazz = clazz;
        this.id = id;
    }
    
    public Class getClazz() {
        return clazz;
    }
    
    public String getId() {
        return id;
    }
}
